home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
Memory.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
100 lines
/*
File: Memory.idl
Contains: Memory Manager Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
/*
NOTE
Don't change GetHandleSize and GetPtrSize into inlines. They are documented as returning
0 in case of an error in Inside Mac, but the traps actually return an error code in D0.
The glue sets D0 to 0 if an error occured.
*/
#ifndef __MEMORY_IDL__
#define __MEMORY_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __MIXEDMODE_IDL__
#include <MixedMode.idl>
#endif
#ifdef __SOMIDL__
/* size of a block in bytes */
typedef long Size;
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
typedef OpaquePtr GrowZoneProcPtr;
typedef OpaquePtr GrowZoneUPP;
typedef OpaquePtr PurgeProcPtr;
typedef OpaquePtr PurgeUPP;
typedef OpaquePtr UserFnProcPtr;
typedef OpaquePtr UserFnUPP;
typedef SOMLargeStruct Zone; /* Derived from a struct of 54 bytes in size */
typedef OpaquePtr THz; /* Substituted OpaquePtr for ``Zone*'' */
typedef SOMLargeStruct MemoryBlock; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct LogicalToPhysicalTable; /* Derived from a struct of 72 bytes in size */
typedef short PageState;
typedef short StatusRegisterContents;
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
#endif
#if FOR_SYSTEM7_ONLY
/* These are defined in Kernel for System 8 */
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
#endif
#if FOR_SYSTEM7_ONLY
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/* Temporary Memory routines renamed, but obsolete, in System 7.0 and later. */
#endif
#if FOR_SYSTEM7_ONLY
#endif
/*
StripAddress and Translate24To32 macro to nothing on PowerPC
StripAddress is implemented as a trap in System 6 or later
*/
#if !GENERATINGPOWERPC
#else
#endif
#if !GENERATINGPOWERPC
#else
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
#endif
#if OLDROUTINENAMES
#if FOR_SYSTEM7_ONLY
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
#endif
#endif
#endif /* __SOMIDL__ */
#endif /* __MEMORY_IDL__ */